import instance from "@/axios";

// 获取课程列表
export const courseList = ()=>instance.get("/course/list")

// 课程分页
export const coursePage = (searchForm)=>instance.post("/course/page",searchForm)


// 新增或编辑课程
export const addOrUpdateCourse = (form)=>instance.post("/course/addOrUpdate",form)


// 删除课程
export const deleteCourse = (id)=>instance.delete("/course/delete/"+id)




